package github.pop.ares.block;

import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.material.Material;
import net.minecraft.state.IntegerProperty;
import net.minecraft.state.StateContainer;


public class ObsidianRubikCube extends Block {


    private static final IntegerProperty STATE
            = IntegerProperty.create("face", 0, 1);

    public ObsidianRubikCube() {

        super(Properties.of(Material.STONE)
                .friction(1)
                .strength(5)
        );
        // 设置默认的状态，也可以不设置 暂时没找到对于的api

    }

    @Override
    protected void createBlockStateDefinition(StateContainer.Builder<Block, BlockState> builder) {
        builder.add(STATE);
        super.createBlockStateDefinition(builder);
    }
}
